AmeliaBooking\Application\Services\Reservation\AbstractReservationService D

Total Complexity 163
Dependencies 37
Dependents 0
Total lines 1,001
Lines of code 603
Logical lines of code 275
Comment lines 201
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
processBooking()
D
32 31 92
finalize()
C
31 21 117
addPayment()
C
37 24 66
processRequest()
C
38 24 61
getPaymentAmount()
A
44 16 39
runPostBookingActions()
A
42 10 58
getSuccessBookingResponse()
A
40 5 66
getWcStatus()
S
59 7 12
getResultData()
S
55 5 21
deleteReservation()
S
55 5 20
applyDeposit()
S
65 6 9
inspectMinimumCancellationTime()
S
62 2 12
deleteUserIfNew()
S
71 2 6
setToken()
S
68 2 7
manageException()
S
69 1 7
getNew()
S
68 1 7
__construct()
S
81 1 3